package de.szut.kundenverwaltung;

import javax.swing.JFrame;

public class Kundenverwaltung extends JFrame{
	
	private static Kundenverwaltung instance;
	
	private Kundenverwaltung(){
	 setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	 setBounds(100, 100, 450, 300);
	 setLayout(null);
	 setVisible(true);
	 setResizable(false);
	}
	public static Kundenverwaltung getInstance(){
		if (instance == null) {
			instance = new Kundenverwaltung();
			instance.dostuff();
		}
		return instance;
	}
	private void dostuff() {
		setContentPane(new KundenPanel());
		revalidate();
		repaint();
	}
 }
